<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户信息详情</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style>
#usertable td{
	border:none !important;
}
td{
	padding-left:16px;
	border:none;
	text-align:left;
}
.td{
	font-size: 16px;
	border:none;
	text-align:right;
}
#button{
	border-radius:10px;
	margin-left: 10px;
	width: 135px;
	height: 30px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
}

</style>
<script type="text/javascript" src="js/jquery.min.js"></script>

</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="userinfo.do">用户管理</a>&nbsp;-</span>&nbsp;用户信息详情
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
					<div class="baTopNo">
						<span>用户信息详情信息</span>
						<hr/>
					</div>
					<div class="baBody" >
						<table id="usertable" style="border:none;margin:0px;padding:0px;line-height:40px">	
							<tr class="bbD" >
								<td class="td">用户名：</td><td >${user.username }</td>				
							</tr>
							<tr class="bbD">
								<td class="td">身份：</td><td><c:if test="${user.role.id ==3}">普通员工</c:if><c:if test="${user.role.id ==2}">管理员</c:if><c:if test="${user.role.id ==1}">超级管理员</c:if></td>
							</tr>
							<tr class="bbD" >
								<td class="td">员工姓名：</td><td>${user.username }</td>
							</tr>
							<tr class="bbD">
								<td class="td">部门名称：</td><td>${user.dept.name }</td>
							</tr>
							<tr class="bbD">
								<td class="td">创建日期：</td><td><fmt:formatDate value="${user.createtime }" pattern="yyyy-MM-dd"/></td>
							</tr>
						</table>
							<a href="userinfo.do"><input type="button" value="关闭" id="button"/></a>					
					</div>
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>